.common-table-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;

  :global {
    .ant-spin-nested-loading,
    .ant-spin-container,
    .ant-table-container,
    .ant-table-wrapper,
    .ant-table {
      height: 100%;
      overflow: hidden;
    }

    .ant-spin-container {
      display: flex;
      flex-direction: column;
    }

    .ant-table-container {
      display: flex;
      flex-direction: column;
    }

    .ant-table-header {
      flex: 1 0 auto;
    }

    .ant-table-body {
      flex: 1 1 auto;
      height: 100%;
      max-height: 100% !important;
    }

    .ant-pagination {
      margin: 16px 0 6px !important;
    }

    .ant-table-wrapper
      .ant-table-tbody
      .ant-table-row.ant-table-row-custom-selected
      > .ant-table-cell {
      background: #e6f4ff;
    }

    .ant-table-wrapper .ant-table-tbody .ant-table-row > .ant-table-cell {
      cursor: pointer;
    }
  }
}
